<?php
$cb = new ConfigurationBundleFactory('ycb.conf');
call($cb, "property=sampleapp");
call($cb, "property=xxx");

function call($cb, $dim) {

    $bundle = $cb->getFromFile("beta.yml",$dim);
    for ($i = 1; $i <= 4; $i++) {
        $key = "lightyear.level$i";
        var_dump($bundle->getValue($key,YCB_SUB_KEY_STRUCT));
    }
}